﻿<tr>
    <td width="70%" align="left" valign="top">
<h2>编辑类别</h2>

<% form_tag admin_category_path(@category), :method => :put do -%>
  <%= render :partial => 'form' %>
  <%= submit_tag 'Edit' %>
<% end -%>

</td>
    <td width="30%" align="left" valign="top">
       <%= link_to 'Show', admin_category_path(@category) %>
       <%= link_to 'Back', admin_categories_path %>
 </td>
  </tr>